package com.niuwa.p2p.entity.role;

import java.io.Serializable;
import java.sql.Timestamp;

public class Role implements Serializable{	@Override
	public String toString() {
		return "Role [id=" + id + ", roleName=" + roleName + ", roleType="
				+ roleType + ", creatorId=" + creatorId + ", menderId="
				+ menderId + ", createDate=" + createDate + ", updateDate="
				+ updateDate + ", description=" + description + ", status="
				+ status + ", creator=" + creator + ", mender=" + mender
				+ ", oper=" + oper + "]";
	}
	private static final long serialVersionUID = 3092418041826705695L;

	private String id;//主键id
	private String roleName;//角色名称   
	private Integer roleType;//角色类型 1:个人,2:企业
	private Integer creatorId;//创建者Id
	private Long menderId;//最后一位修改者Id
	private Timestamp createDate;//创建时间
	private Timestamp updateDate;//修改时间
	private String description;//角色描述
	private Character status;//状态（0：禁用、1：可用）
	private String creator;
	private String mender;
	private String oper;//操作类型
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public Integer getCreatorId() {
		return creatorId;
	}
	public void setCreatorId(Integer creatorId) {
		this.creatorId = creatorId;
	}
	public Timestamp getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}
	public Timestamp getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}

	public Character getStatus() {
		return status;
	}
	public void setStatus(Character status) {
		this.status = status;
	}
	public Long getMenderId() {
		return menderId;
	}
	public void setMenderId(Long menderId) {
		this.menderId = menderId;
	}
	public String getMender() {
		return mender;
	}
	public void setMender(String mender) {
		this.mender = mender;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public Integer getRoleType() {
		return roleType;
	}
	public void setRoleType(Integer roleType) {
		this.roleType = roleType;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getOper() {
		return oper;
	}
	public void setOper(String oper) {
		this.oper = oper;
	}
	public Role() {
		super();
	}
	public Role(String id, String roleName, Integer roleType,
			Integer creatorId, Long menderId, Timestamp createDate,
			Timestamp updateDate, String description, Character status,
			String creator, String mender, String oper) {
		super();
		this.id = id;
		this.roleName = roleName;
		this.roleType = roleType;
		this.creatorId = creatorId;
		this.menderId = menderId;
		this.createDate = createDate;
		this.updateDate = updateDate;
		this.description = description;
		this.status = status;
		this.creator = creator;
		this.mender = mender;
		this.oper = oper;
	}
	
}
